from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^login/$', views.LoginView.as_view(), name='login'),
    url(r'^reg/$', views.RegisterView.as_view(), name='reg'),  # 注册
    url(r'^user/index/$', views.UserIndexView.as_view(), name='userindex'),  # 用户中心
    url(r'^user/index/activate$', views.UserIndexActivateView.as_view(), name='userindexactivate'),  # 用户中心
    url(r'^emails/verification/$', views.VerifyEmailView.as_view()),  # 验证邮箱
    url(r'^user/set/$', views.UserSetView.as_view(), name='userset'),  # 基本设置
    url(r'^user/sets$', views.UserSetsView.as_view(), name='usersets'),  # 基本设置保存
    url(r'^user/upload/$', views.UserUploadView.as_view(), name='userupload'),  # 基本设置
    url(r'^user/repass$', views.UserRepassView.as_view(), name='userrepass'),  # 基本设置
    url(r'^user/message/$', views.UserMessage.as_view(), name='usermessage'),  # 基本设置
    url(r'^logout/$', views.LogoutView.as_view(), name='logout'),  # 退出
    url(r'^user/home$', views.HomeView.as_view(), name='home'),  # 注册
    url(r'^user/homes$', views.HomesView.as_view(), name='homes'),  # 注册
    url(r'^user/collects$', views.CollectsView.as_view(), name='collect'),  # 收藏
    url(r'^user/fly_kiss$', views.FlyView.as_view(), name='fly'),  # 收藏
    url(r'^user/follow$', views.FollowView.as_view(), name='follow'),  # 收藏
    url(r'^user/user_message$', views.MessageView.as_view(), name='message'),  # 收藏


]
